<!DOCTYPE html>

<!--
  This file is part of IVRE.
  Copyright 2011 - 2025 Pierre LALET <pierre@droids-corp.org>

  IVRE is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  IVRE is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  License for more details.

  You should have received a copy of the GNU General Public License
  along with IVRE. If not, see <http://www.gnu.org/licenses/>.
-->

<html ng-app="ivreWebUi">

  <head>
    <link rel="stylesheet" type="text/css" href="bs/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="fi/css/flag-icon.css" />
    <link rel="stylesheet" type="text/css" href="ivre/ivre.css" />
    <link rel="stylesheet" type="text/css" href="ivre/ivre-dark.css" id="ivre-dark-stylesheet" disabled />
    <link rel="icon" type="image/png" id="favicon" href="favicon.png" />
    <script type="text/javascript" src="jq/jquery.js"></script>
    <script type="text/javascript" src="bs/js/bootstrap.js"></script>
    <script type="text/javascript" src="d3/js/d3.v3.min.js"></script>
    <script type="text/javascript" src="d3/js/topojson.v1.min.js"></script>
    <script type="text/javascript" src="an/js/angular.js"></script>
    <script type="text/javascript">
      var config = {};
    </script>
    <script type="text/javascript" src="cgi/config"></script>
    <script type="text/javascript" src="ivre/content.js"></script>
    <script type="text/javascript" src="ivre/utils.js"></script>
    <script type="text/javascript" src="ivre/graph.js"></script>
    <script type="text/javascript" src="ivre/filters.js"></script>
    <script type="text/javascript" src="ivre/form-helpers.js"></script>
    <script type="text/javascript" src="ivre/controllers.js"></script>
    <script type="text/javascript" src="ivre/params.js"></script>
    <script type="text/javascript" src="ivre/tooltip.js"></script>
    <script type="text/javascript" src="ivre/ivre.js"></script>
    <title>IVRE Web UI</title>
  </head>

  <body onload="load();" ng-controller="IvreMainCtrl">

    <!-- Menu -->
    <div ng-controller="IvreMenuCtrl"
	 ivre-menu="main">
    </div>

    <div class="container-fluid ivre-main">
      <div class="row">
	<div class="col-sm-12 col-md-2 sidebar">
	  <ul class="nav panel-group">
	    <ul class="nav"
		ng-controller="IvreProgressCtrl"
		ivre-progress-bar="">
	    </ul>
	    <hr />
	    <ul class="nav"
		ng-controller="IvreFilterListCtrl">
	      <ivre-filters title="Filter"></ivre-filters>
	      <hr />
	      <ivre-topvalues></ivre-topvalues>
	    </ul>
	  </ul>
	</div>
	<div id="results-container" class="col-sm-12 col-md-5 col-md-offset-2"
	     ng-controller="IvreResultListCtrl"
	     ng-switch="display_mode">
	  <!-- The messages -->
	  <div id="messages" ng-controller="IvreMessagesCtrl" ivre-messages=""></div>

	  <div ng-switch-when="script" display-script=""></div>
	  <div ng-switch-when="screenshot" display-screenshot=""></div>
	  <div ng-switch-when="cpe" display-cpe=""></div>
	  <div ng-switch-when="port" display-port=""></div>
	  <div ng-switch-when="service" display-service=""></div>
	  <div ng-switch-when="vulnerability" display-vulnerability=""></div>
	  <div ng-switch-default="host" display-host=""></div>
	</div>
	<div id="notes-container" class="col-sm-12 col-md-5 col-md-offset-7"
	     ng-controller="IvreAnalysisCtrl">
	  <iframe id="notes" frameborder="0" height="99%" width="100%"
		  ng-style="{'display': notes_display}"
		  ng-src="{{notes_page}}";
		  onload="this.parentNode.style.height=window.innerHeight-50+'px'">
	  </iframe>
	  <div id="chart" class="chart" style="display: none;">
	    <div>
	      <center>
		<span name="charttitle"></span>
		<i class="glyphicon glyphicon-remove clickable"
		   onclick="hidecharts();"></i>
	      </center>
	    </div>
	    <div name="chartcontent"></div>
	  </div>
	</div>
      </div>
    </div>
  </body>
</html>
